package cn.nebula.music.dao;

import java.util.Set;

import org.springframework.stereotype.Repository;

import cn.nebula.music.domain.UserCombination;

@Repository
public interface UserCombinationDAO {
	public Set<UserCombination> findAllUserCombinations();

	public Set<UserCombination> findUserCombinationsByUserId(Integer userId);

	public Set<UserCombination> findUserCombinationsByCombinationId(Integer combinationId);

	public Integer addUserCombination(UserCombination userCombination);

	public Integer updateUserCombinationByUserId(UserCombination userCombination);

	public Integer updateUserCombinationByCombinationId(UserCombination userCombination);

	public Integer deleteUserCombination(UserCombination userCombination);

	public Integer deleteUserCombinationByUserId(Integer id);

	public Integer deleteUserCombinationByCombinationId(Integer id);
}
